package com.aioz.security.service;

import com.aioz.security.common.ResponseResult;
import com.aioz.security.entity.File;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aioz
 * @since 2022-09-28
 */
public interface FileService extends IService<File> {

    ResponseResult uploadResume(MultipartFile file);

    ResponseResult uploadUserAvatar(MultipartFile file);

    ResponseResult uploadCompanyPhotos(MultipartFile file,String name);

    ResponseResult getPhotosByCompanyId(Integer companyId);

}
